﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="">
//   
// </copyright>
// <summary>
//   The program.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace NetworkSupervisor
{
    using System;
    using System.Windows.Forms;

    using DevExpress.LookAndFeel;

    /// <summary>
    /// The program.
    /// </summary>
    internal static class Program
    {
        #region Static Fields

        /// <summary>
        /// The context.
        /// </summary>
        public static ApplicationContext Context = null;

        /// <summary>
        /// The g form login.
        /// </summary>
        public static FormLogin gFormLogin = null;

        /// <summary>
        /// The g form main.
        /// </summary>
        public static FormMain gFormMain = null;

        #endregion

        #region Methods

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        private static void Main()
        {
            Application.EnableVisualStyles();

            // Application.SetCompatibleTextRenderingDefault(false);
            DevExpress.Skins.SkinManager.EnableFormSkins();
            DevExpress.UserSkins.BonusSkins.Register();
            UserLookAndFeel.Default.SetSkinStyle("Office 2007 Blue");
            gFormLogin = new FormLogin();
            Context = new ApplicationContext(gFormLogin);
            Application.Run(Context);
        }

        #endregion
    }
}